/**2013-4-11
 zhangqj
 * 
 */
package net.spring.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * @author zhangqj
 *2013-4-11
 */
@Controller
public class loginController {
	private String msg=null;
	@RequestMapping("/login")
	public ModelAndView login(){
		this.msg="login...";
		System.out.println(msg);
		return new  ModelAndView("login","msg",msg);
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}

}
